﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DddCms.Infrastructure.Repository;
using System.Data.Objects;

namespace DddCms.Infrastructure.Test.Repository
{
    /// <summary>
    /// Mock the DataContext for call protected methode
    /// </summary>
    public class DataContextMockDeux : DataContext
    {
        /// <summary>
        /// Initialise entity
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        public void OnObjectMaterializedFake(object sender, ObjectMaterializedEventArgs e)
        {
            this.OnObjectMaterialized(sender, e);
        }
    }

}
